package cn.sunline.dreamvalue.constant;

/**
  * @title: DreamValueType
  * @projectName dream-value
  * @description: 梦想相关类型枚举类
  * @author 11292
  * @date 2020/5/7 15:00
*/
public enum DreamValueType {

    //梦想账户类型
    DEFALUT_TYPE("01","默认类型"),

    //梦想值流水操作类型
    FLOW_TYPE_ADD("01","调增"),
    FLOW_TYPE_SUBTRACT("02","调减"),
    FLOW_TYPE_RECHANGE("03","冲正"),

    //梦想账号开通来源
    DREAMVALUE_NO_SOURCE_APP("001","app"),

    //客户梦想账户状态
    DREAM_ACCT_STATUS_NOT_OPEN("0","未开启"),
    DREAM_ACCT_STATUS_NORMAL("1","正常"),
    DREAM_ACCT_STATUS_CLOSE("2","注销"),

    ;

    private String code;
    private String msg;

    private DreamValueType(String code, String msg){
        this.code = code;
        this.msg = msg;
    }

    public String getCode(){
       return  this.code;
    }

    public String getMsg(){
        return this.msg;
    }
}
